
#ifndef __DRV_ASW_ENUM_H__
#define __DRV_ASW_ENUM_H__


#undef DRV_DEF_M
#undef DRV_DEF_D
#undef DRV_DEF_F
#undef DRV_DEF_SDK_D
#undef DRV_DEF_SDK_F

 /*DS TYPE*/
#define CTC_DS_TYPE(RegName, DWord) \
  typedef struct {uint32 m[DWord];} RegName##_m;

 /* DS Type*/
#define DRV_DEF_M(ModuleName, InstNum)
#ifdef DRV_DS_LITE
#define DRV_DEF_D(ModuleName, InstNum, RegName, EntryOffset, OpType, TblType,EntryNum, DWord,...)
#define DRV_DEF_F(ModuleName, InstNum, RegName, FieldName, Bits, ...)
#else
#define DRV_DEF_D(ModuleName, InstNum, RegName, EntryOffset, OpType, TblType,EntryNum, DWord,...) \
        CTC_DS_TYPE(RegName, DWord)
#define DRV_DEF_F(ModuleName, InstNum, RegName, FieldName, Bits, ...)
#endif
#define DRV_DEF_SDK_D(ModuleName, InstNum, RegName, EntryOffset, OpType, TblType,EntryNum, DWord,...) \
        CTC_DS_TYPE(RegName, DWord)
#define DRV_DEF_SDK_F(ModuleName, InstNum, RegName, FieldName, Bits, ...)
#include "drv_ds.h"
#undef DRV_DEF_M
#undef DRV_DEF_D
#undef DRV_DEF_F
#undef DRV_DEF_SDK_D
#undef DRV_DEF_SDK_F

#endif